package com.wantup.springboot.boot.service;

import com.wantup.springboot.boot.beans.User;

import java.util.Map;

/**
 * @author Zhaoluowei
 * @version 1.0
 * @date 日期 2018/11/13 18:48
 */
public interface LoginServicr {

    /**
     * 用户登陆
     * @param username
     * @param password
     * @return
     * @throws Exception
     */
    User login(String username, String password) throws Exception;

    User login(Map<String, String> stringMap)throws Exception;
}
